$primary: #344962 !default;
$secondary: #344962 !default;
$light: #38AECC !default;
$primary2: #36567C;
$dark: #1A2B3F;
$bg1: #202020;
$c1: #8c8c8c;
$c2: #777777;

$border-color: $c2 !default;

@import "~bootstrap/scss/bootstrap";

a {
  color: $c2;
}

.c-primary {
  color: $primary !important;
}

.c-fff {
  color: #ffffff !important;
}

.c-2 {
  color: $c2 !important;
}

.bg-fff {
  background-color: #ffffff;
}

.bg-1 {
  background-color: $bg1;
}

.bg-f6 {
  background-color: #f6f6f6;
}

.mb-10 {
  margin-bottom: 10px;
}

.br-8 {
  border-radius: 8px;
}

.br-50 {
  border-radius: 50%;
}

.br-top-8 {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.br-bottom-8 {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.border-f7f7f7 {
  border-color: #eeeeee!important;
}

.pt-10px {
  padding-top: 10px;
}

.pb-10px {
  padding-bottom: 10px;
}

.pb-24px {
  padding-bottom: 24px;
}

.mt-120px {
  margin-top: 120px;
}

.fw-400 {
  font-weight: 400;
}

.fs-14px {
  font-size: 14px;
}

.fs-18px {
  font-size: 18px;
}

.fs-24px {
  font-size: 24px;
}

.nav-box {
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
  font-size: 15px;
}

.box-shadow1 {
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.05);
}

.pagination {
  margin-bottom: 0px;
}

.t1 {
  &:hover {
    opacity: 1 !important;
    box-shadow: rgba(45, 45, 45, 0.05) 0px 2px 2px, rgba(49, 49, 49, 0.05) 0px 4px 4px, rgba(42, 42, 42, 0.05) 0px 8px 8px, rgba(32, 32, 32, 0.05) 0px 16px 16px;
    transform: translate(0, -4px);
    -webkit-transform: translate(0, -4px);
    -moz-transform: translate(0, -4px);
    -o-transform: translate(0, -4px);
  }
}

footer.footer-box {
  font-size: 11px;
  background-color: $bg1;
  color: $c1;
}

.video-item {
  cursor: pointer;
  transition: box-shadow .3s ease-out, transform .3s ease-out, opacity .4s ease-out;
  transition-delay: .1s;
  transform: translateZ(0);

  .video-item-box {
    width: 100%;
    height: auto;
    float: right;

    .video-thumb-direct {
      width: 100%;
      height: 192px;
      float: left;
    }

    .video-thumb {
      width: 100%;
      height: 192px;
      float: left;
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
      background-color: rgba(0, 0, 0, .6);

      .video-thumb-img {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        position: relative;
        z-index: -1;
        width: 100%;
        height: 192px;
        float: left;
        color: #ffffff;
        text-align: center;
      }
    }

    .video-title {
      width: 100%;
      height: auto;
      float: left;
      font-size: 14px;

      span {
        margin: 5px 10px 0px 10px;
      }
    }

    .video-extra {
      width: 100%;
      height: auto;
      float: left;
      font-size: 14px;
      line-height: 20px;

      span {
        margin: 5px 10px 0px 10px;
      }
    }

    .video-list-box {
      width: 100%;
      height: auto;
      float: left;
      border-top: 1px dashed #f6f6f6;

      .video-list-box-item {
        width: 100%;
        float: left;
        height: 30px;
        line-height: 30px;
        font-size: 12px;

        div {
          height: 30px;
        }
      }
    }
  }

  &:hover {
    .video-thumb {
      background-color: rgba(0, 0, 0, 0);
    }
  }
}

.role-item {
  cursor: pointer;

  .role-item-box {
    width: 100%;
    height: auto;
    float: left;

    .name {
      font-size: 36px;
      color: #212529;
    }

    .price {
      font-size: 36px;
      font-weight: 800;
      color: #212529;
    }

    .desc-item {
      font-size: 12px;
      padding: 0px;
      margin-bottom: 5px;
      color: $c2;
    }
  }
}

.user-banner-menu {
  background-color: #ffffff;
  line-height: 36px;

  a {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;

    &:hover, &.active {
      text-decoration: none;
      color: $primary;
      border-bottom: 3px solid $primary;
    }
  }
}

.course-video-list {
  width: 100%;
  height: auto;
  float: left;

  dd {
    &:hover {
      background-color: $primary;

      a {
        color: #ffffff;
      }
    }

    &.active {
      a {
        color: #ffffff;
        font-weight: 800;
        background-color: $primary;
      }
    }
  }
}

.course-category-item {
  &.active {
    color: $primary;
    font-size: 1.2rem;
    font-weight: 800;
  }
}

.comment-box {
  .comment-user {
    span.nickname {
      font-size: 14px;
      line-height: 30px;
    }

    .v-tag {
      font-size: 10px;
    }

    .date {
      font-size: 10px;
      line-height: 18px;
    }
  }

  .comment-content {
    padding-left: 65px;
  }
}

.course-detail-banner {
  background-color: #1a1a1a;

  .breadcrumb {
    background-color: #1a1a1a;

    a:hover {
      color: #999999;
    }
  }
}

.course-detail {
  color: #ffffff;
  position: relative;
  background-color: #242424;

  .course-detail-thumb {
    width: 510px;
    height: 384px;
    float: left;
  }

  .course-detail-thumb-sm {
    display: none;
    width: 100%;
    height: auto;
    img {
      max-width: 100%;
      height: auto;
    }
  }

  .course-detail-box {
    padding: 10px 20px;

    .course-detail-title h3 {
      font-size: 22px;
      font-weight: 400;
      margin-bottom: 10px;
      margin-top: 10px;
    }

    .course-detail-info, .course-detail-desc {
      color: #999999;
    }

    .course-detail-price {
      position: absolute;
      right: 2%;
      height: auto;
      color: #999999;
      bottom: 0;
      padding-bottom: 10px;
    }
  }
}

.course-fixed-menu {
  position: fixed;
  top: 40%;
  right: 5%;
  width: 60px;
  height: auto;
  z-index: 11;

  .course-fixed-menu-item {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    font-size: 16px;
    text-align: center;
    line-height: 60px;
    float: left;
    margin-bottom: 10px;
    border: 1px solid #fbfbfb;
    background-color: #ffffff;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
  }
}

@include media-breakpoint-down(sm) {
  .index-course-banner {
    display: none;
  }
  .course-fixed-menu {
    display: none;
  }
  .user-banner-menu {
    width: 100%;

    a {
      padding-right: 0px;
      padding-left: 0px;
      padding-bottom: 5px;
      display: inline-block;
      width: 100%;
      float: left;

      &.active {
        border-bottom: 0px;
      }
    }
  }
}

@include media-breakpoint-down(md) {
  .course-fixed-menu {
    display: none;
  }

  .course-detail-thumb {
    display: none;
  }
  .course-detail-thumb-sm {
    display: block!important;
  }
  .course-detail-price {
    position: relative!important;
  }
}